package com.jianhua.appmarket.common.base;

public class PageParam {

    private int pageIndex = 1;
    private int pageSize = 10;
    private int offSet = 0;

    public int getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getOffSet() {
        return (this.pageIndex - 1) * this.pageSize;
    }

    public void setOffSet(int offSet) {
        this.offSet = offSet;
    }
}
